Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.directories.relations.web--directories

This contribution is part of XML component org.nuxeo.ecm.directories.relations.web inside nuxeo-platform-relations-default-config-5.8.jar

Extension Point

Extension point directories of component SQLDirectoryFactory.

Contributed Items

  • <directory name="predicates">
          <schema>vocabulary</schema>
          <dataSource>java:/nxsqldirectory</dataSource>
          <table>relation_predicates</table>
          <idField>id</idField>
          <autoincrementIdField>false</autoincrementIdField>
          <dataFile>directories/relation_predicates.csv</dataFile>
          <createTablePolicy>on_missing_columns</createTablePolicy>
        </directory>
  • <directory name="inverse_predicates">
          <schema>vocabulary</schema>
          <dataSource>java:/nxsqldirectory</dataSource>
          <table>relation_inverse_predicates</table>
          <idField>id</idField>
          <autoincrementIdField>false</autoincrementIdField>
          <dataFile>directories/relation_inverse_predicates.csv</dataFile>
          <createTablePolicy>on_missing_columns</createTablePolicy>
        </directory>

XML Source

<extension point="directories" target="org.nuxeo.ecm.directory.sql.SQLDirectoryFactory">

    <directory name="predicates">
      <schema>vocabulary</schema>
      <dataSource>java:/nxsqldirectory</dataSource>
      <table>relation_predicates</table>
      <idField>id</idField>
      <autoincrementIdField>false</autoincrementIdField>
      <dataFile>directories/relation_predicates.csv</dataFile>
      <createTablePolicy>on_missing_columns</createTablePolicy>
    </directory>

    <directory name="inverse_predicates">
      <schema>vocabulary</schema>
      <dataSource>java:/nxsqldirectory</dataSource>
      <table>relation_inverse_predicates</table>
      <idField>id</idField>
      <autoincrementIdField>false</autoincrementIdField>
      <dataFile>directories/relation_inverse_predicates.csv</dataFile>
      <createTablePolicy>on_missing_columns</createTablePolicy>
    </directory>

  </extension>